Generates an association structure of symbol at given depth. Symbol's association structure is transposed at each level by the current depth value. Useful function when creating melodies and chords.
(initdef)
(defsym a '(a b))
(defsym b '(c d e))
(gen-trans a 3)
--> (a b c d e d f g h c e f g)
(gen-notrans a 3)
--> (a a a a b b c d e b c d e)
(listdef a 3)
a
a
a
a
b
b
c
d
e
b
c
d
e
The :tree is 'default if not given. If you want to keep multiple definitions in memory at the same time without interference problems use different trees.